package HardwareConfiguration;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Button;

public class HardwareConfiguration_2_A2 extends Composite {
	//硬件配置-导入软件配置-----解文件导入-2

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public HardwareConfiguration_2_A2(Composite parent, int style) {
		super(parent, style);
		this.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		setSize(1000, 800);
		Label lblNewLabel = new Label(this, SWT.NONE);
		lblNewLabel.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel.setBounds(47, 23, 182, 27);
		lblNewLabel.setText("软件配置(任务分配)");
		lblNewLabel.setFont(new Font(getDisplay(), "宋体",15,SWT.RIGHT));
		
		Label label = new Label(this, SWT.NONE);
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setText("这是您导入的配置");
		label.setBounds(47, 56, 122, 17);
		
		Label label_1 = new Label(this, SWT.NONE);
		label_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_1.setText("设备数：");
		label_1.setBounds(108, 98, 61, 17);
		
		Label label_2 = new Label(this, SWT.NONE);
		label_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_2.setText("任务数：");
		label_2.setBounds(278, 98, 61, 17);
		
		Composite composite = new Composite(this, SWT.NONE);
		composite.setBackgroundImage(SWTResourceManager.getImage("./images/u526.png"));
		composite.setBounds(47, 134, 417, 209);
		
		Button btnNewButton = new Button(this, SWT.NONE);
		btnNewButton.setBounds(149, 361, 80, 27);
		btnNewButton.setText("返回");
		
		Button button = new Button(this, SWT.NONE);
		button.setText("确认");
		button.setBounds(301, 361, 80, 27);
		
		Label lblNewLabel_1 = new Label(this, SWT.NONE);
		lblNewLabel_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel_1.setBounds(180, 98, 61, 17);
		lblNewLabel_1.setText("New Label");
		
		Label label_3 = new Label(this, SWT.NONE);
		label_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_3.setText("New Label");
		label_3.setBounds(345, 98, 61, 17);

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}
}
